//
//  CityTableViewController.h
//  CityView
//
//  Created by boleguigu_dev1 on 16/6/4.
//  Copyright © 2016年 宁波伯乐硅谷网络科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CityTableViewControllerDelegate <NSObject>
-(void)cityTableViewSetCityId:(NSInteger)cityId cityName:(NSString *)name;
@optional
-(void)cityTableViewSetNilForUser;//本地的locateCityId不等于本地的cityId 或 点击的regionid不等于本地的cityid时  设置RegionState FilterRegionNames FilterRegionIDStr为nil
@end

@interface CityTableViewController : UITableViewController

@property (nonatomic,strong)NSArray *cityInfoArray;//数组内是字典形式的城市信息
@property (nonatomic,copy)NSString *locateCityName;//当前定位城市名
@property (nonatomic,assign)NSInteger locateCityId;//当前定位城市id 定位失败为0
@property (nonatomic,assign)NSInteger cityId;
@property (nonatomic,weak)id<CityTableViewControllerDelegate>citychooseDelegate;

@property (nonatomic,strong)UIImage *navBackImage;
@property (nonatomic,strong)UIColor *navigationBarTintColor;
@property (nonatomic,strong)UIColor *navigationtintColor;
@property (nonatomic,copy)NSString *navigationBarbackBarButtonItemTitle;
@end
